﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;

namespace ImageGenerator.Models;

[ExcelImporter(IsLabelingError = true)]
public class DataDto
{
    [ImporterHeader(Name = "背景图路径")]
    public string BgImage { get; set; } = "";

    /// <summary>
    /// 标题
    /// </summary>
    [ImporterHeader(Name = "标题")]
    public string Title { get; set; } = "";
    /// <summary>
    /// 标题字体
    /// </summary>
    [ImporterHeader(Name = "标题字体")]
    public string TitleFont { get; set; } = "";
    /// <summary>
    /// 标题颜色
    /// </summary>
    [ImporterHeader(Name = "标题颜色")]
    public string TitleColor { get; set; } = "";
    /// <summary>
    /// 副标题
    /// </summary>
    [ImporterHeader(Name = "副标题")]
    public string SubTitle { get; set; } = "";
    /// <summary>
    /// 副标题字体
    /// </summary>
    [ImporterHeader(Name = "副标题字体")]
    public string SubTitleFont { get; set; } = "";
    /// <summary>
    /// 副标题颜色
    /// </summary>
    [ImporterHeader(Name = "副标题颜色")]
    public string SubTitleColor { get; set; } = "";
    /// <summary>
    /// 图片路径
    /// </summary>
    [ImporterHeader(Name = "图片路径")]
    public string ImgPath { get; set; } = "";
    /// <summary>
    /// 步骤
    /// </summary>
    [ImporterHeader(Name = "步骤")]
    public string Step { get; set; } = "";
    /// <summary>
    /// 步骤字体
    /// </summary>
    [ImporterHeader(Name = "步骤字体")]
    public string StepFont { get; set; } = "";
    /// <summary>
    /// 步骤颜色
    /// </summary>
    [ImporterHeader(Name = "步骤颜色")]
    public string StepColor { get; set; } = "";
    /// <summary>
    /// 步骤详情
    /// </summary>
    [ImporterHeader(Name = "步骤详情")]
    public string StepDetail { get; set; } = "";
    /// <summary>
    /// 步骤详情字体
    /// </summary>
    [ImporterHeader(Name = "步骤详情字体")]
    public string StepDetailFont { get; set; } = "";
    /// <summary>
    /// 步骤详情颜色
    /// </summary>
    [ImporterHeader(Name = "步骤详情颜色")]
    public string StepDetailColor { get; set; } = "";
}
